package com.example.itces.mapper;

import com.example.itces.domain.JgQuestion;
import com.example.itces.domain.Question;

import java.util.List;

public interface QuestionMapper {
    int insertQuestion(Question question);

    Question selectById(int id);

    List<Question> getJavaQuestion(String qtype);

    int insertJgQuestion(JgQuestion jgQuestion);

    List<JgQuestion> getJavaJgQuestion(String qtype);
}
